home *** CD-ROM | disk | FTP | other *** search
- Path: cribx1.u-bordeaux.fr!athena!skoruppa
- From: skoruppa@athena.ceremab.u-bordeaux.fr (Nils Skoruppa)
- Newsgroups: comp.sys.amiga.programmer
- Subject: LoadRGB32()
- Date: 4 Jan 1996 16:24:29 GMT
- Organization: ceremab
- Distribution: world
- Message-ID: <4cguvt$aa2@serveur.cribx1.u-bordeaux.fr>
- Reply-To: skoruppa@athena.ceremab.u-bordeaux.fr (Nils Skoruppa)
- NNTP-Posting-Host: athena.math.u-bordeaux.fr
-
- I wrote (and used) a simple IFF-ILBM loader which works
- fine with pre-AGA files. It loads too IFF-ILBM
- images where the RGB values range between 0 and 255;
- of course, the colours are not displayed correctly.
- So I changed the program to use LoadRGB32()
- instead of LoadRGB4() (and ULONGs and so forth).
- Unfortunately, now AGA IFF-ILBM files are no longer
- loaded correctly, garbage is displayed instead
- (not only wrong colours, but a completely wrong
- bitmap). On the other hand, I did not at all touch the
- routine which (finds and) decodes the BODY to a BitMap.
- Since I have no documentation at all about 3.0 functions
- I am a little bit loast now.
-
- Does anybody have a suggestion what ritual one has to
- perform when using LoadRGB43() ? And when, the hell,
- will there be a documentation (e.g. AUTODOCS !)
- available --- one has to waste so much try and
- error time when working without.
-
- Thanks,
- ---NP. Skoruppa
-
-
-